package com.example.department.Impl;

import com.example.department.Entity.Fengcaixiu;
import com.example.department.Entity.Fengcomment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FengCommentImpl { //风采秀评论
    List<Fengcomment> getFengcommentList(@Param("fengcomment") Fengcomment fengcomment); //查询全部活动信息
    int addFengcomment(@Param("fengcomment") Fengcomment fengcomment); //增加活动信息
    int delFengcomment(@Param("cid") int cid); //删除活动信息
    int updateFengcomment(@Param("fengcomment") Fengcomment apply); //修改活动信息
    Fengcomment getFengcommentById(@Param("cid") int cid); //根据id查询
    List<Fengcomment> getFengcommentPageList(@Param("ccontent") String ccontent, @Param("Start") int Start, @Param("Page") int Page);//获取列表
}
